package net.pinnoocle.playdao.entity.shopPc.room;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.pinnoocle.playdao.entity.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-22 14:30
 */
@Data
public class SaveRoomParams {

    @ApiModelProperty(value = "房间id")
    @NotNull(message = "房间id不能为空",groups = UpdateGroup.class)
    private String roomId;

    @ApiModelProperty(value = "房间名称")
    @NotNull(message = "房间名称不能为空")
    private String roomName;

    @ApiModelProperty(value = "房号")
    @NotNull(message = "房号不能为空")
    private String roomNumber;

    @ApiModelProperty(value = "房间封面图")
    @NotNull(message = "请上传房间封面图")
    private String coverImage;

    @ApiModelProperty(value = "房间状态 0 空闲中 1 使用中")
    private Integer isUsed;
}
